application: Fix compiler warnings
authorMatthias Clasen <mclasen@redhat.com>
Sun, 31 May 2015 01:23:39 +0000 (21:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 2 Jun 2015 13:08:15 +0000 (09:08 -0400)
Fix warnings due to -Wdeclaration-after-statement and -Wshadow.

gtk/gtkapplication.c

index 639f549466a70c145a3c87ea3d0b3453dfc01c3b..f86353342a66145b68516e9841d1405f00d8292c 100644 (file)
@@ -414,7 +414,6 @@ accels_set_accels_for_action (Accels              *accels,
   if (keys)
     {
       gchar *my_key;
-      gint i;
 
       my_key = g_strdup (action_and_target);